/// 🎯 参与者审核请求模型
/// 
/// 用于封装发送给后端的审核请求参数
/// 对应接口: POST /activities/participants/review/
class ParticipantReviewReq {
  final int activityId;
  final int userId;
  final String reviewStatus;
  final String? reviewNote;
  final String timestamp;

  ParticipantReviewReq({
    required this.activityId,
    required this.userId,
    required this.reviewStatus,
    this.reviewNote,
    required this.timestamp,
  });

  /// 转换为JSON（发送给后端）
  Map<String, dynamic> toJson() {
    return {
      'activityId': activityId,
      'userId': userId,
      'reviewStatus': reviewStatus,
      if (reviewNote != null) 'reviewNote': reviewNote,
      'timestamp': timestamp,
    };
  }
}

